<!--
Copyright (c) Microsoft Corporation. All rights reserved
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <title></title>
    <script src="/js/scenario4-backgroundActivity.js"></script>
</head>

<body class="win-type-body">
    <div>
        <p>Registers a background task for activity changes. The background task runs whenever the most likely activity changes to/from any of the subscribed activities.</p>
        <p>
            <button class="action win-button" id="registerTask">Register Task</button>
            <button class="action win-button" id="unregisterTask">Unregister Task</button>
        </p>
    </div>
    <table id="scenarioOutput">
        <tr><td>Task Registration:</td><td id="taskRegistration"></td></tr>
        <tr><td>Task Status:</td><td id="taskStatus"></td></tr>
        <tr><td>Report Count:</td><td id="reportCount"></td></tr>
        <tr><td>Last Activity:</td><td id="lastActivity"></td></tr>
        <tr><td>Last Confidence:</td><td id="lastConfidence"></td></tr>
        <tr><td>Last Timestamp:</td><td id="lastTimestamp"></td></tr>
    </table>
</body>

</html>